<?php

declare(strict_types=1);

namespace App\Model;

use Hyperf\DbConnection\Model\Model;

/**
 * @property string $mediaGroupId 媒体分组id
 * @property string $name 名称
 * @property string $sort 排序
 * @property string $createTime 创建时间
 * @property string $updateTime 更新时间
 */
class MediaGroup extends Model
{
        /**
         * 主键字段
         */
        public string $primaryKey = 'mediaGroupId';

        /**
         * 不自动维护时间
         * @var bool
         */
        public bool $timestamps = false;

        /**
         * The table associated with the model.
         */
        protected ?string $table = 'media_group';

        /**
         * The attributes that are mass assignable.
         */
        protected array $fillable = [];

        /**
         * The attributes that should be cast to native types.
         */
        protected array $casts = ['mediaGroupId' => 'string'];
}
